package com.example.j2025_11_10.service;

import com.example.j2025_11_10.Model.UserInfo;
import com.example.j2025_11_10.mapper.UserMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    public UserMapper userMapper;

    public UserInfo userInfoService(String name){
        return userMapper.userlogin(name);
    }
}
